package com.bluesky.jwf.example1.forms;

import com.bluesky.javawebbrowser.domain.html.tags.Tag;
import com.bluesky.jwf.component.tree.TreeViewItem;
import com.bluesky.jwf.example1.domain.Person;

public class PersonTreeViewItem extends TreeViewItem {

	@Override
	public void init(String html) {

		super.init(html);

	}

	@Override
	public void setModel(Object model) {

		super.setModel(model);

		Person p = (Person) model;

		contentTag.setBodyAndParse(p.getName());
	}
}
